<template>
  <div class="but">
    <butL @msgg="msg"></butL>
     <router-view class="riht"></router-view>
  </div>
</template>

<script>
import butL from "../components/system-butL.vue";
export default {
    data(){
        return{
            num:2
        }
    },
  components: {
    butL,
  },
  methods:{
      msg(val){
          this.num=val
      },
  }
};
</script>

<style scoped lang="scss">
.but{
    display: flex;
    .riht{
        width: calc(100vw - 180px);
    }
}
</style>